package com.atguigu.order.bean;

import com.atguigu.product.bean.Product;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@Schema(description = "订单")
public class Order {
    @Schema(description = "订单id")
    private Long id;
    @Schema(description = "订单总金额")
    private BigDecimal totalAmount;
    @Schema(description = "用户id")
    private Long usreId;
    @Schema(description = "用户昵称")
    private String nickName;
    @Schema(description = "用户地址")
    private String address;
    @Schema(description = "商品列表")
    private List<Product> productList;
}
